package com.my.coolq.api.response;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * 群成员信息
 * @author ch
 *
 */
public class GroupMemberInfoResponse implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1885114921312699411L;

	/**
	 * 群qq号码
	 */
	private Long group_id;
	
	/**
	 * 用户的qq号码
	 */
	private Long user_id;
	
	/**
	 * 昵称
	 */
	private String nickname;
	
	/**
	 * 群名片／备注
	 */
	private String card;
	
	/**
	 * 性别，male 或 female 或 unknown
	 */
	private String sex;
	
	/**
	 * 年龄
	 */
	private Integer age;
	
	/**
	 * 地区
	 */
	private String area;
	
	/**
	 * 加群时间戳
	 */
	private Long join_time;
	
	/**
	 * 最后发言时间戳
	 */
	private Long last_sent_time;
	
	/**
	 * 成员等级
	 */
	private String level;
	
	/**
	 * 角色，owner 或 admin 或 member
	 */
	private String role;
	
	/**
	 * 是否不良记录成员
	 */
	private Boolean unfriendly;
	
	/**
	 * 专属头衔
	 */
	private String title;
	
	/**
	 * 专属头衔过期时间戳
	 */
	private Long title_expire_time;
	
	/**
	 * 是否允许修改群名片
	 */
	private Boolean card_changeable;

	public Long getGroup_id() {
		return group_id;
	}

	public void setGroup_id(Long group_id) {
		this.group_id = group_id;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public Long getJoin_time() {
		return join_time;
	}

	public void setJoin_time(Long join_time) {
		this.join_time = join_time;
	}

	public Long getLast_sent_time() {
		return last_sent_time;
	}

	public void setLast_sent_time(Long last_sent_time) {
		this.last_sent_time = last_sent_time;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public Boolean getUnfriendly() {
		return unfriendly;
	}

	public void setUnfriendly(Boolean unfriendly) {
		this.unfriendly = unfriendly;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getTitle_expire_time() {
		return title_expire_time;
	}

	public void setTitle_expire_time(Long title_expire_time) {
		this.title_expire_time = title_expire_time;
	}

	public Boolean getCard_changeable() {
		return card_changeable;
	}

	public void setCard_changeable(Boolean card_changeable) {
		this.card_changeable = card_changeable;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}
}
